package com.ideal.frame.node.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ideal.frame.entity.AutoModel;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: zhangdelei
 * @date: 2021/8/24-4:27 下午
 * @Description:
 **/
@Data
@Entity
@Table(name = "node_sync_event")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class NodeSyncEvent extends AutoModel implements Serializable, Cloneable {
    /**
     * 同步时间
     */
    private Date syncTime;
    /**
     * 同步类型（0根节点，1前缀，2节点）
     */
    private int type;
    /**
     * 根节点前缀
     */
    private String rootPrefix;
}
